package org.jeecg.modules.xindian.reconciliation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: policy_settlement_statistics
 * @Author: jeecg-boot
 * @Date:   2024-05-07
 * @Version: V1.0
 */
@Data
@TableName("policy_settlement_statistics")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="policy_settlement_statistics对象", description="policy_settlement_statistics")
public class PolicySettlementStatistics implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;



	/**订单创建日期*/
	@Excel(name = "订单创建日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "订单创建日期")
    private Date orderCreateTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**下单时间*/
	@Excel(name = "下单时间", width = 15)
    @ApiModelProperty(value = "下单时间")
    private String applyTime;
	/**支付时间*/
	@Excel(name = "支付时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @Excel(name = "开标时间", width = 15)
    @ApiModelProperty(value = "开标时间")
    private java.lang.String kaiBiaoTime;	/**付款人名称*/
	@Excel(name = "付款人名称", width = 15)
    @ApiModelProperty(value = "付款人名称")
    private String payAccountName;
	/**被保人*/
	@Excel(name = "被保人", width = 15)
    @ApiModelProperty(value = "被保人")
    private String insuredName;

    @Excel(name = "结算单位", width = 15)
    @ApiModelProperty(value = "结算单位")
    private java.lang.String company;

	/**出保时间*/
	@Excel(name = "出保时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "出保时间")
    private Date insureActiveDate;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private String orderNo;
	/**保单号*/
	@Excel(name = "保单号", width = 15)
    @ApiModelProperty(value = "保单号")
    private String policyNo;
	/**支付状态*/
    @ApiModelProperty(value = "支付状态")
    @Excel(name = "支付状态", width = 15,dicCode = "ZFZT")
    @Dict(dicCode = "ZFZT")
    private String payState;
	/**保险状态*/
    @Excel(name = "保险状态", width = 15,dicCode = "DZBDZT")
    @Dict(dicCode = "DZBDZT")
    @ApiModelProperty(value = "保险状态")
    private String policyState;
	/**订单来源*/
    @Excel(name = "订单来源", width = 15,dicCode = "DZDDLY")
    @Dict(dicCode = "DZDDLY")
    @ApiModelProperty(value = "订单来源")
    private String sourceType;
	/**保费*/
	@Excel(name = "保费", width = 15)
    @ApiModelProperty(value = "保费")
    private BigDecimal cost;
	/**平台*/
    @Excel(name = "平台", width = 15,dicCode = "JYPTBM")
    @Dict(dicCode = "JYPTBM")
    @ApiModelProperty(value = "平台")
    private String platformCode;
	/**保险公司*/
    @Excel(name = "保险公司", width = 15,dicCode = "BXGS")
    @Dict(dicCode = "BXGS")
    @ApiModelProperty(value = "保险公司")
    private String insuranceCompany;
	/**渠道商*/
	@Excel(name = "渠道商", width = 15)
    @ApiModelProperty(value = "渠道商")
    private String channelProvider;
	/**费率*/
	@Excel(name = "费率", width = 15)
    @ApiModelProperty(value = "费率")
    private BigDecimal rate;
	/**地区*/
    @Excel(name = "地区", width = 15,dicCode = "DZQY")
    @Dict(dicCode = "DZQY")
    @ApiModelProperty(value = "地区")
    private String area;
	/**保证金*/
	@Excel(name = "保证金", width = 15)
    @ApiModelProperty(value = "保证金")
    private BigDecimal margin;
	/**渠道结算订单id*/
	@Excel(name = "渠道结算订单id", width = 15)
    @ApiModelProperty(value = "渠道结算订单id")
    private String channelSettlementId;
	/**业务结算汇总订单id*/
	@Excel(name = "业务结算汇总订单id", width = 15)
    @ApiModelProperty(value = "业务结算汇总订单id")
    private String salesmanSettlementId;
	/**保险公司结算汇总订单id*/
	@Excel(name = "保险公司结算汇总订单id", width = 15)
    @ApiModelProperty(value = "保险公司结算汇总订单id")
    private String insuranceSettlementId;
	/**业务员Id*/
	@Excel(name = "业务员Id", width = 15)
    @ApiModelProperty(value = "业务员Id")
    private String salesmanId;
	/**业务人员名称*/
	@Excel(name = "业务人员名称", width = 15)
    @ApiModelProperty(value = "业务人员名称")
    private String salesmanName;
	/**渠道名称*/
	@Excel(name = "渠道名称", width = 15)
    @ApiModelProperty(value = "渠道名称")
    private String channelName;
    private String channelAloneName;
	/**不含税保费*/
	@Excel(name = "不含税保费", width = 15)
    @ApiModelProperty(value = "不含税保费")
    private BigDecimal exTaxPremium;
	/**保险公司经纪费比例*/
	@Excel(name = "保险公司经纪费比例", width = 15)
    @ApiModelProperty(value = "保险公司经纪费比例")
    private BigDecimal insuranceFeeRate;
	/**保险公司经纪费比例*/
	@Excel(name = "保险公司经纪费比例", width = 15)
    @ApiModelProperty(value = "保险公司经纪费比例")
    private BigDecimal insuranceFee;
	/**渠道经纪费比例*/
	@Excel(name = "渠道经纪费比例", width = 15)
    @ApiModelProperty(value = "渠道经纪费比例")
    private BigDecimal channelFeeRate;
    /**渠道经纪费比例*/
    @Excel(name = "渠道独家经纪费比例", width = 15)
    @ApiModelProperty(value = "渠道独家经纪费比例")
    private BigDecimal channelAloneRate;

	/**渠道经纪费比例*/
	@Excel(name = "渠道经纪费比例", width = 15)
    @ApiModelProperty(value = "渠道经纪费比例")
    private BigDecimal channelFee;
    @Excel(name = "渠道独家业务经济费", width = 15)
    @ApiModelProperty(value = "渠道独家业务经济费")
    private BigDecimal channelAloneFee;
	/**渠道经纪费*/
	@Excel(name = "业务员经纪费比例", width = 15)
    @ApiModelProperty(value = "业务员经纪费比例")
    private BigDecimal salesmanFeeRate;
	/**业务员经纪费比例*/
	@Excel(name = "业务员经纪费比例", width = 15)
    @ApiModelProperty(value = "业务员经纪费比例")
    private BigDecimal salesmanFee;
	/**系统服务商经纪费*/
	@Excel(name = "系统服务商经纪费", width = 15)
    @ApiModelProperty(value = "系统服务商经纪费")
    private BigDecimal systemFee;
	/**投保人名称*/
	@Excel(name = "投保人名称", width = 15)
    @ApiModelProperty(value = "投保人名称")
    private String policyHolderName;
	/**项目名称*/
	@Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    @Excel(name = "平台", width = 15,dicCode = "JYPTBM")
    @Dict(dicCode = "JYPTBM")
    @ApiModelProperty(value = "平台")
    private java.lang.String platform;

    /**项目名称*/
    @Excel(name = "结算周期", width = 15)
    @ApiModelProperty(value = "结算周期")
    private String date;

    /**项目名称*/
    @Excel(name = "支付周期", width = 15)
    @ApiModelProperty(value = "支付周期")
    private String payDate;
	/**系统服务商纪费比例*/
	@Excel(name = "系统服务商纪费比例", width = 15)
    @ApiModelProperty(value = "系统服务商纪费比例")
    private BigDecimal systemRate;

    /**保险公司经纪费*/
    @Excel(name = "经纪公司经纪费用", width = 15)
    @ApiModelProperty(value = "经纪公司经纪费用")
    private java.math.BigDecimal proxyFee;
    /**渠道经纪费比例*/
    @Excel(name = "经纪公司经纪费用比例", width = 15)
    @ApiModelProperty(value = "经纪公司经纪费用比例")
    private java.math.BigDecimal proxyRate;

    @Excel(name = "是否其他平台结算单", width = 15,dicCode = "SFQTJSD")
    @Dict(dicCode = "SFQTJSD")
    @ApiModelProperty(value = "是否其他平台结算单")
    private String otherSettlementFalg;

    @Excel(name = "撞单结果备注", width = 15)
    @ApiModelProperty(value = "撞单结果备注")
    private String collisionResultsNote;
}
